package com.gmadmin.gmmbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gmadmin.gmmbg.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author micheal yang
 * @since 2025-09-25
 */
@Getter
@Setter
@ToString
@TableName("sys_role")
@Accessors(chain = true)
@Schema(name = "SysRole", description = "")
public class SysRole extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    private String roleName;

    /**
     * 角色编码
     */
    @Schema(description = "角色编码")
    private String roleCode;
}
